import service from "@/utils/request.js";
import qs from 'qs';

const shippingApi = {
	insert(shipping) {
		return service.post("/user/shipping/add", shipping);
	},
	deleteById(id) {
		return service.delete(`/user/shipping/deleteById/${id}`);
	},
	selectByUserId() {
		return service.get("/user/shipping/selectByUserId");
	},
	updateStatus(shipping) {
		return service.put("/user/shipping/updateStatus", shipping);
	}
};


export default shippingApi;